﻿using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;

namespace AiQiuQuan.Sport.Model.Models
{
    /// <summary>
    /// 约球查询
    /// </summary>
    public class BallQueryDto
    {
        /// <summary>
        /// 约球ID
        /// </summary>
        [Required]
        public Guid BallId { get; set; }

        /// <summary>
        /// 纬度
        /// </summary>
        public decimal Lat { get; set; }

        /// <summary>
        /// 经度
        /// </summary>
        public decimal Lng { get; set; }

        /// <summary>
        /// 是否查询所有报名人员；否，只查报名中、报名完成
        /// </summary>
        public bool? IsAllUser { get; set; }

        /// <summary>
        /// 是否平台
        /// </summary>
        [JsonIgnore]
        public bool IsPlatform { get; set; }
    }
}
